@echo off

IF "%1"=="" goto usage
IF "%2"=="" goto usage

call loadcp lib\*.jar > NUL
call loadcp +release\dist\*.jar > NUL
java -Xmx368m -cp %LOCALCLASSPATH% -Djrat.factory=org.shiftone.jrat.provider.tree.TreeMethodHandlerFactory -Ddb=%1 -Dlog4j.configuration=log4j.xml org.shiftone.cdep.CDepLoad %2 %3 %4 %5 %6 %7

:end
goto exit

:usage
echo.
echo "Usage: %0 [hsql|oracle|sqlserver] [input class|classpath] ..."
echo.

:exit